package com.zdy.im.user.vo.response;


import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseBeanClone;
import com.zdy.im.user.dto.response.ImRoomInfoResponseDto;
import com.zdy.im.user.dto.response.ImUserFriendShipResponseDto;

import java.io.Serializable;
import java.util.List;

/**
* @ClassName: UserInfoShowResponseVo.java
* @Description: 用户表的数据交互处理类
* @author xxx
* @date   2021-05-08 17:45:21
* @version V1.0.0
* <p>
* ----------------------------------------------------------------------------
*  modifyer    modifyTime                 comment
*
* ----------------------------------------------------------------------------
* </p>
*/
public class InitShowResponseVo extends BaseBeanClone implements Serializable {


		/** rooms 群信息  */
		@ApiDesc(value = "群信息list", required = 0)
		private List<ImRoomInfoResponseDto> rooms;
		/** friends 好友信息  */
		@ApiDesc(value = "好友信息list", required = 0)
		private List<ImUserFriendShipResponseDto> friends;
 		/** me 个人信息  */
 		@ApiDesc(value = "个人信息", required = 0)
 		private UserInfoShowResponseExt me;

    public static InitShowResponseVo build(){
        return new InitShowResponseVo();
    }

	public InitShowResponseVo toRooms(List<ImRoomInfoResponseDto> rooms) {
		this.rooms = rooms;
		return this;
	}

	public InitShowResponseVo toFriends(List<ImUserFriendShipResponseDto> friends) {
		this.friends = friends;
		return this;
	}

	public InitShowResponseVo toMe(UserInfoShowResponseExt me) {
		this.me = me;
		return this;
	}

	public List<ImRoomInfoResponseDto> getRooms() {
		return rooms;
	}

	public void setRooms(List<ImRoomInfoResponseDto> rooms) {
		this.rooms = rooms;
	}

	public List<ImUserFriendShipResponseDto> getFriends() {
		return friends;
	}

	public void setFriends(List<ImUserFriendShipResponseDto> friends) {
		this.friends = friends;
	}

	public UserInfoShowResponseExt getMe() {
		return me;
	}

	public void setMe(UserInfoShowResponseExt me) {
		this.me = me;
	}
}
